package com.lanqiao.javaparkinglot.service.impl;

import com.lanqiao.javaparkinglot.dao.UserloginDao;
import com.lanqiao.javaparkinglot.entity.Userlogin;
import com.lanqiao.javaparkinglot.service.UserloginService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserloginServiceImpl implements UserloginService {
    @Autowired
    UserloginDao userloginDao;

    //登录
    @Override
    public Userlogin Login(String username) {
       Userlogin userlogin= userloginDao.Login(username);
       return userlogin;
    }


}
